/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Patrick;

/**
 *
 * @author Wallyson
 */
import java.util.*;
public class Exercicio04 {
    public static void main(String[] args){
    
        Scanner s= new Scanner(System.in);
        
        System.out.println("Digite o nome do aluno");
        String nome = s.nextLine();
        
        System.out.println("Digite o valor da NP1 do aluno");
        float np1 = s.nextFloat();
        
        System.out.println("Digite o valor da NP2 do aluno");
        float np2 = s.nextFloat();
        
        System.out.println("Digite o valor da NP3 do aluno");
        float np3 = s.nextFloat();
        
        System.out.println("Digite o valor da NP4 do aluno");
        float np4 = s.nextFloat();
        
        float media = ( (np1+np2+np3+np4)/4);
        
        System.out.println("O "+nome+"teve media igual a "+media);
    }
    
}
